﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Sunlit.House.Regions;

namespace Sunlit.House.Floors
{
    /// <summary>
    /// 楼盘图片
    /// </summary>
    [Table("AbpFloorImages")]
    public class FloorImage:CreationAuditedEntity<long>
    {
        [Required]
        public string ImageUrl { get; set; }
        [StringLength(64)]
        public string Alt { get; set; }
        [StringLength(64)]
        public string Title { get; set; }
        public bool IsCover { get; set; }
        public int DisplayOrder { get; set; }
        public long FloorId { get; set; }
        public virtual Floor Floor { get; set; }
    }
}
